package p270jp.pxv.android.legacy.model;

import android.support.p024v4.media.C0261e;
import com.google.android.gms.ads.C2047a;
import p325m0.MutabilityOwnership;

/* compiled from: DeviceInfo.kt */
/* renamed from: jp.pxv.android.legacy.model.DeviceInfo */
/* loaded from: classes2.dex */
public final class DeviceInfo {
    private final String modelName;
    private final String releaseVersion;

    public DeviceInfo(String str, String str2) {
        MutabilityOwnership.m3745m(str, "releaseVersion");
        MutabilityOwnership.m3745m(str2, "modelName");
        this.releaseVersion = str;
        this.modelName = str2;
    }

    public static /* synthetic */ DeviceInfo copy$default(DeviceInfo deviceInfo, String str, String str2, int i, Object obj) {
        if ((i & 1) != 0) {
            str = deviceInfo.releaseVersion;
        }
        if ((i & 2) != 0) {
            str2 = deviceInfo.modelName;
        }
        return deviceInfo.copy(str, str2);
    }

    public final String component1() {
        return this.releaseVersion;
    }

    public final String component2() {
        return this.modelName;
    }

    public final DeviceInfo copy(String str, String str2) {
        MutabilityOwnership.m3745m(str, "releaseVersion");
        MutabilityOwnership.m3745m(str2, "modelName");
        return new DeviceInfo(str, str2);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof DeviceInfo)) {
            return false;
        }
        DeviceInfo deviceInfo = (DeviceInfo) obj;
        return MutabilityOwnership.m3749h(this.releaseVersion, deviceInfo.releaseVersion) && MutabilityOwnership.m3749h(this.modelName, deviceInfo.modelName);
    }

    public final String getModelName() {
        return this.modelName;
    }

    public final String getReleaseVersion() {
        return this.releaseVersion;
    }

    public int hashCode() {
        return this.modelName.hashCode() + (this.releaseVersion.hashCode() * 31);
    }

    public String toString() {
        StringBuilder c = C0261e.m12042c("DeviceInfo(releaseVersion=");
        c.append(this.releaseVersion);
        c.append(", modelName=");
        return C2047a.m8800b(c, this.modelName, ')');
    }
}
